package com.qys.livesMall.finance.enums;



public enum AccountTypeEnum {

    TOTAL_ACCOUNT(1,"financeAccountService","平台账户"),
    /**
     * 集散账户，用于接收用户支付的订单款项，结算时分配到各账户
     */
    ALLOCATION_ACCOUNT(2,"financeAccountService","平台分配账户"),

    R_W_ACCOUNT(3,"financeAccountService","平台充提账户"),

    USER_ACCOUNT(4,"financeUserAccountService","用户账户"),

    SHOP_ACCOUNT(5,"financeShopAccountService","店铺账户"),
    SHOP_EARNEST_MONEY_ACCOUNT(6,"financeShopEarnestMoneyAccountService","店铺保证金账户")
    ;
    /**
     * 类型
     */
    private Integer type;

    private String service;

    private String desc;

    AccountTypeEnum(Integer type,String service, String desc) {
        this.type = type;
        this.service=service;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public String getService() {
        return service;
    }
}
